<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
<link rel="stylesheet" href="__PUBLIC__/css/pintuer.css">
<link rel="stylesheet" href="__PUBLIC__/css/admin.css">
<script src="__PUBLIC__/js/jquery.js"></script>
<script src="__PUBLIC__/js/pintuer.js"></script>
    <script class="resources library" src="__PUBLIC__/area.js" type="text/javascript"></script>
    <script>
        var opt0 = ["{$arr.s_province}","{$arr.s_city}","{$arr.s_county}"];//初始值
        function _init_area(){  //初始化函数
            for(i=0;i<s.length-1;i++){
                document.getElementById(s[i]).onchange=new Function("change("+(i+1)+")");
            }
            change(0);
        }
    </script>
</head>
<body>
<div class="panel admin-panel">
  <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>修改内容</strong></div>
  <div class="body-content">
    <form method="post" class="form-x" action="__URL__/save" enctype="multipart/form-data">  
     <div class="panel admin-panel">
      <div class="form-group">
        <div class="label">
          <label><h1>公司详情</h1></label>
        </div>
      </div> 
      <div class="form-group">
        <div class="label">
          <label>ID:</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" value="{$arr.id}" name="id" />
          <div class="tips"></div>
        </div>
      </div>
     <div class="form-group">
        <div class="label">
          <label>公司名称：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="cname" value="{$arr.cname}"/>
          <div class="tips"></div>
        </div>
      </div>
         <div class="form-group">
             <div class="label">
                 <label>城市:</label>
             </div>
             <div class="field">
                 <select id="s_province" name="s_province" class="input" onchange="changesearch()" style="width:100px; line-height:17px; display:inline-block" >

                 </select>
                 &nbsp;&nbsp;

                 <select id="s_city" name="s_city" class="input" onchange="changesearch()" style="width:100px; line-height:17px;display:inline-block">

                 </select>
                 &nbsp;&nbsp;

                 <select id="s_county" name="s_county" class="input" onchange="changesearch()" style="width:100px; line-height:17px;display:inline-block">
                 </select>

                 <script type="text/javascript">_init_area();</script>
                 <div id="show"></div>
                 <script type="text/javascript">

                     var Gid  = document.getElementById ;

                     var showArea = function(){

                         Gid('show').innerHTML = "<h3>省" + Gid('s_province').value + " - 市" +

                             Gid('s_city').value + " - 县/区" +

                             Gid('s_county').value + "</h3>"

                     }

                 </script>
                 <div class="tips"></div>
             </div>
         </div>
      <div class="form-group">
        <div class="label">
          <label>账号：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="username" value="{$arr.username}"/>
          <div class="tips"></div>
        </div>
      </div>
      
        <div class="form-group">
        <div class="label">
          <label>LOGO:</label>
        </div>
        <div class="field">
          <img src="__PUBLIC__/Upload/{$arr.imagename}" alt="{$arr.cname}">
          <input type="file" class="input w50" name="imagename"/>
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>联系人：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="lianxiren" value="{$arr.lianxiren}"/>
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>手机：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="mobile" value="{$arr.mobile}"/>
          <div class="tips"></div>
        </div>
      </div>
       <div class="form-group">
        <div class="label">
          <label>邮箱：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="email" value="{$arr.email}"/>
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>地址：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="dizhi" value="{$arr.dizhi}"/>
          <div class="tips"></div>
        </div>
      </div>
       <div class="form-group">
          <div class="label"  style="width:100%; height:30px;text-align:left;margin-left:100px;">
            <label>审核状态:<font color="#00CC99">{$arr['isshow']==1?'已审核':'未审核'}</font></label>
          </div>
          <div class="field" style="padding-top:8px;width:100%; height:30px;text-align:left;margin-left:140px;"> 
            审核 <input  type="checkbox" name="isshow" value='1'/>
          </div>
        </div>
        <div class="form-group">
        <div class="label">
          <label>操作员：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="operator" value="{$arr.operator}"/>
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label></label>
        </div>
        <div class="field">
          <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
        </div>
      </div>
    </form>
  </div>
</div>

</body></html>